<template>
  <div class="common-layout">
    <el-container class="el-container-box">

        <!-- 侧边栏组件 -->
        <common-aside></common-aside>
 
      <el-container>
        <!-- 头部header组件 -->
        <el-header class="header-container">
          <common-header></common-header>
        </el-header>

        <el-main>
          <!-- tag标签 -->
          <common-tag></common-tag>
          <!-- 子路由占位符 -->
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>
import CommonAside from "../components/CommonAside.vue";
import CommonHeader from "../components/CommonHeader.vue";
import CommonTag from "../components/CommonTag.vue";
</script>


<style lang="less">
.common-layout {
  height: 100%;
  .el-container-box {
    height: 100%;
  }
}
.header-container{
  background-color: #fff;
}
</style>
